﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Control_ChatLieu : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            string query = "select * from ChatLieu";
            XuLy xl = new XuLy();
            DataList1.DataSource = xl.Load(query);
            DataList1.DataBind();
        }

    }
}